

module("NetWork.Action.FireGroupSmAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

FireGroupSmAction = NetCmdActionBase:new()

function FireGroupSmAction:Action(bytes)
    local FireGroupSm = require("Protol.groupMessage_pb").FireGroupSm()
    FireGroupSm:ParseFromString(bytes)
  
    if FireGroupSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(FireGroupSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.FireGroupSm(FireGroupSm)
end

require("NetWork.NetCmdSet").CmdSet[2005] = FireGroupSmAction --注册处理对象